/**
 * Created by kaki on 2017/4/6.
 */
import Mock from 'mockjs'

Mock.mock('/acount_now', {
  'list|1-10': [{
    'name': '@ctitle()',
    'imgSrc': '@image("200x100")',
    'date': '@date',
    'id|+1': 1
  }]
})

Mock.mock('/acount_old', {
  'list|1-10': [{
    'name': '@ctitle()',
    'imgSrc': '@image("200x100")',
    'date': '@datetime',
    'id|+1': 1
  }]
})

Mock.mock('/detail', {
  'imgSrc': '@image("300x360")',
  'tit': '@ctitle()',
  'list|1-10': [{
    'name': '@ctitle()',
    'replace_tit': '@ctitle()',
    'replace_content': '@cparagraph()'
  }]
})

Mock.mock('/Crowd', {
  'banner': '@image("300x400")',
  'ActivityName': '@ctitle()',
  'ActivityCon': '@cparagraph()',
  'list|1-10': [{
    'name': '@ctitle()',
    'article': '@cparagraph()',
    'time': '@now()',
    'money': '@increment(100)',
    'img': '@image("100x100")'
  }]
})

Mock.mock('/CrowdfundPeople', {
  'name': '@ctitle()',
  'tilte': '@ctitle()',
  'time': '@now()',
  'money': '20000',
  'img': '@image("100x100")'
})
